package com.appleyk;


/**
 * <p>具体的数据传输任务</p>
 * @blob https://blog.csdn.net/appleyk
 * @github https://github.com/kobeyk
 * @date created on 10:56 2021/2/21
 * @author appleyk
 * @version v0.1.2
 * @created 01-7月-2023 15:38:43
 */
public class TDataTransferJob extends AJobExecutable {

	private static final long _10M = 1024*1024*10;

	/**
	 * 为了简单起见，这个具体的任务执行子类里面就不放东西了 正常情况下，这个类里面会有N多个业务实现或Dao层的类 比如:AXXXService,
	 * BXXXService,CXXXDao,DXXXRepo...etc
	 * 
	 * @param job
	 */
	public TDataTransferJob(TJob job){
		super(job);
	}

	/**
	 * 
	 * @param job
	 * @param listener
	 * @exception Exception
	 */
	@Override
	public void doExecute(TJob job, IJobListener listener) throws Exception{
		System.out.println("数据传输");
		listener.onProgress(10,100);
	}
}//end TDataTransferJob